<template>
  <view>
    <anniversaries ref="anniversaries" :options="page.options"></anniversaries>
  </view>
</template>

<script setup>
  import Anniversaries from '@/pages/familyPage/components/anniversaries.vue';
  import { onLoad, onShow } from '@dcloudio/uni-app';
  import { nextTick, onMounted, reactive, ref } from 'vue';

  const page = reactive({
    options: {},
  });
  onLoad((options) => {
    page.options = options;
  });
  const anniversaries = ref();

  onShow(() => {
    nextTick(() => {
      anniversaries._value.getUserInfo();
      anniversaries._value.getAnniversaryList();
    });
  });
</script>


<style scoped lang="scss">

</style>
